package com.ruoyi.system.domain.construction;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 施工队评论对象 construction_comment
 * 
 * @author 张少丛
 * @date 2020-11-04
 */
public class ConstructionComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论ID */
    private Integer constructionCommId;

    /** 施工队ID */
    @Excel(name = "施工队ID")
    private Integer constructionInfoId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderTeamId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer customerId;

    /** 评论标题 */
    @Excel(name = "评论标题")
    private String title;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /** 审核状态：0未审核，1已审核 */
    @Excel(name = "审核状态：0未审核，1已审核")
    private String auditStatus;

    /** 评论时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评论时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;

    private String customerName;

    private OrderTeam orderTeam;

    private ConstructionInfo conventionInfo;

    /** 施工人员组 */
    private List<Long> constructionInfoIds;

    public void setConstructionCommId(Integer constructionCommId) 
    {
        this.constructionCommId = constructionCommId;
    }

    public Integer getConstructionCommId() 
    {
        return constructionCommId;
    }
    public void setConstructionInfoId(Integer constructionInfoId)
    {
        this.constructionInfoId = constructionInfoId;
    }

    public Integer getConstructionInfoId()
    {
        return constructionInfoId;
    }
    public void setOrderTeamId(Long orderTeamId) 
    {
        this.orderTeamId = orderTeamId;
    }

    public Long getOrderTeamId() 
    {
        return orderTeamId;
    }
    public void setCustomerId(Integer customerId) 
    {
        this.customerId = customerId;
    }

    public Integer getCustomerId() 
    {
        return customerId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setAuditStatus(String auditStatus)
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus()
    {
        return auditStatus;
    }
    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }
    public void setModifiedTime(Date modifiedTime) 
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime() 
    {
        return modifiedTime;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public OrderTeam getOrderTeam() {
        return orderTeam;
    }

    public void setOrderTeam(OrderTeam orderTeam) {
        this.orderTeam = orderTeam;
    }

    public ConstructionInfo getConventionInfo() {
        return conventionInfo;
    }

    public void setConventionInfo(ConstructionInfo conventionInfo) {
        this.conventionInfo = conventionInfo;
    }

    public List<Long> getConstructionInfoIds() {
        return constructionInfoIds;
    }

    public void setConstructionInfoIds(List<Long> constructionInfoIds) {
        this.constructionInfoIds = constructionInfoIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("constructionCommId", getConstructionCommId())
            .append("constructionInfoId", getConstructionInfoId())
            .append("orderTeamId", getOrderTeamId())
            .append("customerId", getCustomerId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("auditStatus", getAuditStatus())
            .append("auditTime", getAuditTime())
            .append("modifiedTime", getModifiedTime())
                .append("orderTeam", getOrderTeam())
                .append("conventionInfo", getConventionInfo())
            .toString();
    }
}
